<div class="acordeon">
  	<?php
		$cantidadTabsAcordeon = 0;
  		if($LOGIN->objetivoDB == 5 || $LOGIN->objetivoDB == 1){
  			include('assets/acordeonPhp/fijos.php');
  			$cantidadTabsAcordeon++;
  			?>
  			<script type="text/javascript">
				 seleccionActual = "fijos";
			</script>
  			<?php
  		}
  		if($LOGIN->objetivoDB != 1 || ($flotaCentralId != "" && $flotaCentralId != undefined) ){
  			include('assets/acordeonPhp/vehiculos.php');
			include('assets/acordeonPhp/seguimiento.php');
			include('assets/acordeonPhp/seleccion.php');
			$cantidadTabsAcordeon+=3;
  		}
		if($LOGIN->objetivo == 4){
			if($LOGIN->PERMISOSAlias[3]){
				include('assets/acordeonPhp/historico.php');
				$cantidadTabsAcordeon++;
			}
		}else{
			include('assets/acordeonPhp/historico.php');
			$cantidadTabsAcordeon++;
		}
		if ($LOGIN->PERMISOS[4]){
			include('assets/acordeonPhp/misPuntos.php');
			$cantidadTabsAcordeon++;
		}
		if ($LOGIN->PERMISOS[5]){
			include('assets/acordeonPhp/misZonas.php');
			$cantidadTabsAcordeon++;
		}
		if ($LOGIN->PERMISOS[20]){
			include('assets/acordeonPhp/misRutas.php');
			$cantidadTabsAcordeon++;
		}
		if ($LOGIN->PERMISOS[6]){
			include('assets/acordeonPhp/reglas.php');
			$cantidadTabsAcordeon++;
		}
		include('assets/acordeonPhp/miscelaneas.php');
		$cantidadTabsAcordeon++;
	?>
	<script type="text/javascript">
		var cantidadTabsAcordeon = <?=$cantidadTabsAcordeon?>;
	</script>
</div>